package com.chang.bootplus.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "购物车添加", description = "")
public class ShopCartPO {

    @ApiModelProperty(value = "用户id",required = true)
    private Long userId;

    @ApiModelProperty(value = "商品id",required = true)
    private Long proId;

    @ApiModelProperty(value = "商品个数",required = true)
    private Integer count;

    @ApiModelProperty(value = "商品总价",required = true)
    private BigDecimal amount;

}
